Skip to content

Conversation

seattlefurby17
Copy link

Assignment Submission: Exquisite React

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Prompt Response
Define in your own words: What does "state" in React mean? How do we use it?
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other?
How did this project differ from in-class examples?
How was this project similar to in-class examples?

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Hanh, you have a fully functional Exquisite corpse game. Well done.

You do have some tests failing and I tried to note what could be done to fix them. The biggest thing is some of the props were changed in components, but not in the tests.

import PropTypes from 'prop-types';
import './RecentSubmission.css';

const RecentSubmission = (props) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to note the tests for this component are passing, so you didn't need to skip them.

@@ -0,0 +1,46 @@
const FinalPoem = (props) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what this file is for.

import PropTypes from 'prop-types';
import './FinalPoem.css';

const FinalPoem = (props) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note that it looks like the tests are failing because you used different props like isRevealed instead of isSubmitted. That's why it looks like the tests are failing.

<h3>Player Submission Form for Player #{ }</h3>

<form className="PlayerSubmissionForm__form" >
<h3>Player Submission Form for Player # { props.index }</h3>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will cause all the tests in Game.test.js to pass.

Suggested change
<h3>Player Submission Form for Player # { props.index }</h3>
<h3>Player Submission Form for Player #{ props.index }</h3>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants